#ifndef _nf_thread_H
#define _nf_thread_H

#include "rtthread.h"
#include "nf_module.h"


//NF消息队列结构体
typedef struct
{
	uint8_t *add;		//消息发送目标地址
	uint8_t data[32];	//消息
}nf_Send_Message_t;



extern nf_t nf02;
extern uint8_t TX_ADDRESS[5];

void nf_thread_entry(void *paremeter);

void NF_TX_Model_Config(nf_t *nf,uint8_t *address,uint8_t address_len);
void NF_RX_Model_Config(nf_t *nf,uint8_t *address,uint8_t address_len);
void User_NFSend_Data(uint8_t *add,uint8_t *data,uint8_t len);    //nf模块 用户发送函数
#endif
